package work;

public class BankSystem {
    //银行的名称、用户的名称、密码、账户余额和交易金额等数据
    private String bankName;    //银行的名称
    private String userName;    //用户的名称
    private String password;    //密码
    private double money;   //账户余额
    private double useMoney;    //交易金额
    public boolean flag = false;   //是否开户
    public double men = 10;
    public int num = 3;

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public double getUseMoney() {
        return useMoney;
    }

    public void setUseMoney(double useMoney) {
        this.useMoney = useMoney;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }
}
